import http from '../../utils/axios'
//添加公司
export function companyAdd(query:any) {
  return http.request({
    url: '/company/add',
    method: 'post',
    data: query
  })
}
//修改公司
export function companyUpdate(query:any) {
  return http.request({
    url: '/company/update',
    method: 'post',
    data: query
  })
}
//删除公司
export function companyDel(query:any) {
  return http.request({
    url: '/company/del',
    method: 'post',
    data: query
  })
}
//公司重置密码
export function companyResetPwd(query:any) {
  return http.request({
    url: '/company/resetPwd',
    method: 'post',
    data: query
  })
}
//公司更新状态
export function companyStatus(query:any) {
  return http.request({
    url: '/company/status',
    method: 'post',
    data: query
  })
}